﻿<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Custom="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Class="MarkovNameGeneratorApp.Window1"
    Title="Window1" mc:Ignorable="d" d:DesignHeight="647" Width="640" Height="480">
    <Grid>
        
    	<Grid.RowDefinitions>
    		<RowDefinition Height="32"/>
    		<RowDefinition Height="0.905*"/>
    	</Grid.RowDefinitions>
    	<Custom:DataGrid x:Name="dgrdNameList" Grid.Row="1" AutoGenerateColumns="False" GridLinesVisibility="None" Margin="0,0,0,32" BorderBrush="{x:Null}">
    		<Custom:DataGrid.Columns>
    			<Custom:DataGridTextColumn Header="Generated Name" IsReadOnly="True" Binding="{Binding GeneratedValue}"/>
    			<Custom:DataGridCheckBoxColumn Binding="{Binding IsSelected}"/>
    		</Custom:DataGrid.Columns>
    	</Custom:DataGrid>
    	<Button x:Name="btnGenerate" HorizontalAlignment="Left" VerticalAlignment="Center" Width="75" Content="Generate" Click="BtnGenerateClick" IsDefault="True" Margin="5,0,0,0"/>
    	<Button x:Name="btnDelete" HorizontalAlignment="Left" VerticalAlignment="Center" Content="Save List to File" Margin="85,0,0,0" Click="BtnSaveClick"/>
        
    	<TextBox x:Name="txtBegin" HorizontalAlignment="Left" Margin="298,0,0,0" VerticalAlignment="Center" Width="100" TextWrapping="Wrap"/>
    	<TextBox x:Name="txtEnd" HorizontalAlignment="Left" Margin="405,0,0,0" VerticalAlignment="Center" Width="100" TextWrapping="Wrap"/>
    	<Button x:Name="btnStop" HorizontalAlignment="Right" Width="75" Content="Stop" d:LayoutOverrides="Height" VerticalAlignment="Center" Click="BtnStopClick" IsEnabled="False" Margin="0,0,5,0"/>
    	<StatusBar Margin="0,-32,0,0" VerticalAlignment="Bottom" Height="32" Grid.Row="1">
    		<StatusBar.Effect>
    			<DropShadowEffect ShadowDepth="0" BlurRadius="10"/>
    		</StatusBar.Effect>
    		<StatusBar.Background>
    			<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    				<GradientStop Color="#FF636363"/>
    				<GradientStop Color="White" Offset="1"/>
    			</LinearGradientBrush>
    		</StatusBar.Background>
    		<TextBlock x:Name="txtLineStatus" HorizontalAlignment="Left" VerticalAlignment="Center" TextWrapping="Wrap" Width="100">
    			<TextBlock.Effect>
    				<DropShadowEffect Direction="275" ShadowDepth="2" Opacity="0.75"/>
    			</TextBlock.Effect>
    		</TextBlock>
    		<ProgressBar x:Name="progress" Height="20" Width="300" HorizontalAlignment="Left" Value="-21" SmallChange="1" Maximum="10000">
    			<ProgressBar.Effect>
    				<DropShadowEffect Direction="275" ShadowDepth="2" Opacity="0.75"/>
    			</ProgressBar.Effect>
    		</ProgressBar>
    	</StatusBar>
    	<Rectangle VerticalAlignment="Bottom" Height="32" Grid.Row="1">
    		<Rectangle.Fill>
    			<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    				<GradientStop Color="#3FFFFFFF" Offset="0.5"/>
    				<GradientStop Color="White"/>
    				<GradientStop Color="#07FFFFFF" Offset="0.501"/>
    			</LinearGradientBrush>
    		</Rectangle.Fill>
    	</Rectangle>
    	<Ellipse Stretch="Fill" Margin="283.333,182,214.667,102" Grid.Row="1" Visibility="Hidden">
    		<Ellipse.Fill>
    			<RadialGradientBrush RadiusX="0.5" RadiusY="0.5" Center="0.5,0.5" GradientOrigin="0.5,0.5">
    				<RadialGradientBrush.RelativeTransform>
    					<TransformGroup/>
    				</RadialGradientBrush.RelativeTransform>
    				<GradientStop Color="#FF08004E" Offset="0.283721"/>
    				<GradientStop Color="#FF3124A6" Offset="0.81591"/>
    				<GradientStop Color="#FF5B48FF" Offset="1"/>
    			</RadialGradientBrush>
    		</Ellipse.Fill>
    	</Ellipse>
    	<Path Stretch="Fill" Data="F1 M 346.333,219.709C 377.265,219.709 402.339,244.784 402.339,275.715C 402.339,306.646 380.5,271.009 345.917,270.917C 308.833,270.917 290.327,306.646 290.327,275.715C 290.327,244.784 315.402,219.709 346.333,219.709 Z " Margin="290.327,187.709,221.661,153.663" Grid.Row="1" Visibility="Hidden">
    		<Path.Fill>
    			<RadialGradientBrush RadiusX="0.951" RadiusY="0.785" Center="1.081,1.379" GradientOrigin="0.281,1.382">
    				<RadialGradientBrush.RelativeTransform>
    					<TransformGroup>
    						<RotateTransform CenterX="0.511483" CenterY="1.39011" Angle="-90"/>
    					</TransformGroup>
    				</RadialGradientBrush.RelativeTransform>
    				<GradientStop Offset="0.5001"/>
    				<GradientStop Color="White" Offset="1"/>
    				<GradientStop Offset="0.5"/>
    			</RadialGradientBrush>
    		</Path.Fill>
    	</Path>
    	<ComboBox x:Name="cmbLanguageSelect" HorizontalAlignment="Left" Width="117" d:LayoutOverrides="Height" VerticalAlignment="Center" Margin="176,0,0,0" SelectionChanged="CmbLanguageSelectSelectionChanged"/>
        
    </Grid>
</Window>
